package org.learn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    @GetMapping("/login")
    public String toLogin(){
        return "login";
    }

    @GetMapping("/unAuthUrl")
    public String unauth()
    {
        return "/unauth";
    }


}
